Get a list of timestreams
GET/timestreams
Get a list of timestreams with support for paging
Request
Query Parameters
Default value: 25
The number of results per page
Default value: 1
The page of results to return
If not supplied, the current time is used
Header Parameters
OneBasket API Key
Responses
- 200
- 400
- 401
The request has succeeded.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The current page of results
The number of results per page
The total number of pages
The total number of results
True if there is a next page
True if there is a previous page
results object[]required
The results for the current page
Possible values: [TicketedEvent]
The name of the venue
The name of the competation
The date of the event
The logo of the event
The logo of the competition
{
"page": 0,
"pageSize": 0,
"pageTotal": 0,
"resultsTotal": 0,
"hasNextPage": true,
"hasPreviousPage": true,
"results": [
{
"type": "TicketedEvent",
"ticketedEvent": "string",
"venueName": "string",
"competitionName": "string",
"date": "2024-01-11T21:22:38.993Z",
"logoUrl": "string",
"competitionLogoUrl": "string",
"id": "string",
"title": "string",
"description": "string",
"venue": "string",
"timelines": {}
}
]
}
The server could not understand the request due to invalid syntax.
- application/json
- Schema
- Example (from schema)
Schema
A URI reference [RFC3986] that identifies the problem type.
Possible values: [Bad request]
A short, human-readable summary of the problem type.
Possible values: [400]
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem.
errors objectrequired
{
"type": "string",
"title": "Bad request",
"status": 400,
"detail": "string",
"instance": "string",
"errors": {}
}
Access is unauthorized.
- application/json
- Schema
- Example (from schema)
Schema
A URI reference [RFC3986] that identifies the problem type.
Possible values: [Unauthorized]
A short, human-readable summary of the problem type.
Possible values: [401]
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem.
{
"type": "string",
"title": "Unauthorized",
"status": 401,
"detail": "string",
"instance": "string"
}